<?php
namespace app\common\controller;

use app\common\controller\Base;

class Front extends Base
{
    //继承上级
    protected function initialize()
    {
        parent::initialize();
        
        $this->authCheck();

        $this->site['pathView']   = $this->site['rootUrl'].'/view/'.$this->site['theme'];

        $this->view->config('view_base', './view/'.$this->site['theme'].'/');

        $this->assign($this->user);
    }
}